package com.bytezero.springboothomework.frist;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.time.LocalDateTime;

/**
 * @Author: Bytezero_zhengLei
 * @Date: 2024/6/24 19:42
 * @Project_Name:
 * @Email: 420498246@qq.com
 * @Description:
 * @TODO:
 */

// 控制类
@RestController
public class FirstStart {

    @RequestMapping("/getqueryUser")
    public String getQueryUser(Integer age, Integer gender, @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")LocalDateTime Time) {
        System.out.println("age = " + age +"---"  + "gender" + "---" + gender + "Time" + "---" + Time);
        return "ok";

    }


}
